<script setup>
	import { onLaunch } from '@dcloudio/uni-app'
	import LoginUtils from './utils/loginUtils.js'
  import { onLoad, onShow } from '@dcloudio/uni-app'

  onShow(() => {
    // uni.hideTabBar();
  })

  onLaunch(async () => {

    try {
			await LoginUtils.checkAndHandleLogin();
		} catch (error) {
			console.error('登录检查失败:', error);
		}
	})
</script>

<style>
	/*每个页面公共css */
  .uni-app--showtopwindow uni-page-head {
    display: none;
  }

</style>
